package com.wavehi.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author WaveHi
 * @Date 28/10/2021 下午 10:03
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
//@Controller
//@ResponseBody
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello() {
        return "Hello!";
    }
}
